package com.wuhuiyue.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author hy-woo
 * @since 2022-06-14
 */
@Getter
@Setter
@TableName("tb_center")
public class Center implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @ExcelIgnore
    private Integer id;

    @ExcelProperty(value = "渠道类型")
    private String name;
    @ExcelProperty(value = "渠道个数")
    @TableField(exist = false)
    private Integer num;

    @ExcelIgnore
    private Integer type;


}
